package com.course.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface MessageMapper {

//    List<Map<String, Object>> getusercourse(Map<String, Object> map);

    List<Map<String, Object>> getteachercourse(Map<String, Object> map);

    int sendmessage(Integer messagenumber,Integer messagecourse,String messagetext,String messagetype);

    List<Map<String,Object>> displaysmessage(Integer messagecourse);

//    List<Map<String,Object>> displaymessagem(Integer messagecourse,Integer messagenumber);

}
